<!-- BEGIN PAGE HEADER-->
<h3 class="page-title">
    用户详情
    <small></small>
</h3>
<div class="page-bar">
    <ul class="page-breadcrumb">
        <li>
            <i class="fa fa-home"></i>
            <a href="index.html">Home</a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <a href="#">用户管理</a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <a href="#">用户详情</a>
        </li>
    </ul>
</div>
<!-- END PAGE HEADER-->
<!-- BEGIN PAGE CONTENT-->
<div class="row">
    <div class="col-md-12">
        <form class="form-horizontal form-row-seperated" action="#" id="edit_form">
            <div class="portlet">
                <div class="portlet-title">
                    <div class="caption">
                        <i class="fa fa-shopping-cart"></i>用户：<?php echo $data['nick_name'];?>
                    </div>
                    <div class="actions btn-set">
                        <button type="button" id="back" class="btn default">
                            <i class="fa fa-angle-left"></i> 返回
                        </button>
                        <!--button class="btn default">
                            <i class="fa fa-reply"></i> 重置
                        </button>
                        <button type="button" class="btn green table-group-action-submit">
                            <i class="fa fa-check"></i> 保存
                        </button-->
                        <!--<button class="btn green"><i class="fa fa-check-circle"></i> 保存 & 继续编辑</button>-->
                    </div>
                </div>
                <div class="portlet-body">
                    <div class="tabbable">
                        <ul class="nav nav-tabs">
                            <li class="active">
                                <a href="#tab_general" data-toggle="tab">基本情况</a>
                            </li>
                            <li>
                                <a href="#tab_job" data-toggle="tab">教育及工作</a>
                            </li>
                            <li>
                                <a href="#tab_authentication" data-toggle="tab">认证情况</a>
                            </li>
                            <li>
                                <a href="#tab_gaoqi" data-toggle="tab">搞起资料</a>
                            </li>
                            <li>
                                <a href="#tab_fabu" data-toggle="tab">搞起发布</a>
                            </li>
                        </ul>
                        <div class="tab-content no-space">
                            <div class="tab-pane active" id="tab_general">
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            搞起ID: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['id'];?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            昵称: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['nick_name'];?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            手机号码: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['mobile']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            性别: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php if($data['gender'] == 1){echo '男';}elseif($data['gender'] == 2){echo '女';} ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            生日: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo date('Y-m-d',$data['birthday']) ; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            出生地址: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['birthplace']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            兴趣爱好: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['hobby']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            外貌: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['appearance']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            情感状态: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['relation_status']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            恋爱经历: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['love_times']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            头像: <span class="required">  </span>
                                        </label>
                                        <div class="col-md-10">
                                            <?php if(!empty($data['avatar'])) { foreach( $data['avatar'] as $img) {?>
                                            <a class="fancybox-thumbs" data-fancybox-group="thumb" href="<?php echo $img;?>"><img width="200px" src="<?php echo $img;?>" alt="" /></a>
                                            <?php }} ?>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="tab_job">
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            毕业学校: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['school']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            职业: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['profession']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            月收入: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['month_income']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            在职公司: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['company']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            住房情况: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['housing']; ?>">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="tab_authentication">
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            身份证号: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['id_card'];?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            姓名: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['name'];?>">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="tab_gaoqi">
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            个性签名: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder=""
                                                   value="<?php echo $data['character_sign']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            主打游戏: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['main_game'];?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            游戏区: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['game_zone'];?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            游戏ID: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['game_account'];?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            擅长角色: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['good_role']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            搞起语录: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['quotations']; ?>">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            其他游戏: <span class="required">* </span>
                                        </label>
                                        <div class="col-md-10">
                                            <input disabled type="text" class="form-control" name="name" placeholder="" value="<?php echo $data['else_game']; ?>">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="tab_fabu">
                                <div class="form-body">
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            看大腿: <span class="required"></span>
                                        </label>
                                        <div class="col-md-10">
                                            <a class="btn btn-xs yellow" alt="点击查看" href="/admin/sparringbuy/list?class=1&keyword=<?php echo $data ? $data['id'] : ''; ?>">看大腿</a>
                                        </div>
                                    </div>
                                    <!--div class="form-group">
                                        <label class="col-md-2 control-label">
                                            朋友圈: <span class="required"></span>
                                        </label>
                                        <div class="col-md-10">
                                            <a class="btn btn-xs yellow" href="/admin/friendcircle/list?class=1?keyword=<?php echo $data ? $data['id'] : ''; ?>">点击查看朋友圈</a>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            电竞圈: <span class="required"></span>
                                        </label>
                                        <div class="col-md-10">
                                            <a class="btn btn-xs yellow" href="/admin/gamecircle/person?id=<?php echo $data ? $data['id'] : ''; ?>">点击查看电竞圈</a>
                                        </div>
                                    </div>

                                    <div class="form-group">
                                        <label class="col-md-2 control-label">
                                            求大腿: <span class="required"></span>
                                        </label>
                                        <div class="col-md-10">
                                            <a class="btn btn-xs yellow" href="/admin/sparringsell/list?uid=<?php echo $data ? $data['id'] : ''; ?>">点击查看求大腿</a>
                                        </div>
                                    </div-->
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </div>
</div>
<!-- END PAGE CONTENT-->
<!-- Add mousewheel plugin (this is optional) -->
<script type="text/javascript" src="/plugins/fancybox/lib/jquery.mousewheel-3.0.6.pack.js"></script>

<!-- Add fancyBox main JS and CSS files -->
<script type="text/javascript" src="/plugins/fancybox/source/jquery.fancybox.js?v=2.1.5"></script>
<link rel="stylesheet" type="text/css" href="/plugins/fancybox/source/jquery.fancybox.css?v=2.1.5" media="screen" />

<!-- Add Button helper (this is optional) -->
<link rel="stylesheet" type="text/css" href="/plugins/fancybox/source/helpers/jquery.fancybox-buttons.css?v=1.0.5" />
<script type="text/javascript" src="/plugins/fancybox/source/helpers/jquery.fancybox-buttons.js?v=1.0.5"></script>

<!-- Add Thumbnail helper (this is optional) -->
<link rel="stylesheet" type="text/css" href="/plugins/fancybox/source/helpers/jquery.fancybox-thumbs.css?v=1.0.7" />
<script type="text/javascript" src="/plugins/fancybox/source/helpers/jquery.fancybox-thumbs.js?v=1.0.7"></script>

<!-- Add Media helper (this is optional) -->
<script type="text/javascript" src="/plugins/fancybox/source/helpers/jquery.fancybox-media.js?v=1.0.6"></script>
<script type="text/javascript">
    $(document).ready(function() {
        $('.fancybox-thumbs').fancybox({
            prevEffect : 'none',
            nextEffect : 'none',

            closeBtn  : false,
            arrows    : false,
            nextClick : true,

            helpers : {
                thumbs : {
                    width  : 50,
                    height : 50
                }
            }
        });
    });
</script>